home *** CD-ROM | disk | FTP | other *** search
/ Hacker 3 / HACKER03.ISO / Igre / Quake Goodies / Botovi.exe / ZEUS10 / SOURCE.ZIP / BOT.H < prev    next >
Encoding:
Text File  |  1996-08-03  |  2.7 KB  |  73 lines

  1. /*
  2. ==============================================================================
  3.  
  4. TM BOT HEADER FILE
  5.  
  6. ==============================================================================
  7. */
  8.  
  9.  
  10. // Global Constants
  11.  
  12. // Defines for Effects that aren't already defined by name (see MODELS.QC)
  13.  
  14. float   EF_ROCKET   = 1;
  15.  
  16. float   BOT_TOGGLE                = 100;        // impulse constant
  17. float    BOT_AUTO_TOGGLE            = 101;        // impulse constant
  18. float    BOT_MOVE_FIRE            = 102;        // impulse constant
  19. float     BOT_LEFT_FIRE_TOGGLE    = 103;        // impulse constant
  20. float    BOT_RIGHT_TELEPORT        = 104;        // impulse constant
  21. float    STAND                    = 0;        // move_flag constant
  22. float    WALK                    = 1;        // move_flag constant
  23. float    RUN                        = 2;        // move_flag constant
  24. float   BOT_LIGHT_TOGGLE        = 105;
  25. float   BOT_GIVE_STATUS         = 106;
  26.  
  27. // Bot Prototypes - called by player
  28.  
  29. void () Bot_Precache;        // Precache information for the bot
  30. void () BotActivate;        // Activate bot
  31. void () BotDeActivate;        // DeActivate bot
  32. void () BotToggle;            // Toggle bot on and off
  33. void () BotAutoToggle;        // Toggle automatic/manual control of bot
  34. void () BotMoveToggle;        // Toggle movement (walk, run, stand) in man mode
  35. void ()    BotTurnRight;        // Turn bot to the right by 22.5 degrees in man mode
  36. void () BotTurnLeft;        // Turn bot to the left by 22.5 degrees in man mode
  37. void () BotFireToggle;        // Toggle bot's auto-firing in auto mode
  38. void ()    BotFire;            // Have bot fire at its current target in auto mode
  39. void ()    BotTeleportHome;    // Have bot teleport back to its owner
  40. void ()    BotLightToggle;            // Have bot teleport back to its owner
  41. void () BotGiveStatus;          // Have bot report health and armorvalue
  42.  
  43. // Botai Prototypes - called by bot (mostly modified versions of existing code)
  44.  
  45. float    ()                                BotFindTarget;
  46. void    ()                                BotFoundTarget;
  47. void    ()                                BotSightSound;
  48. void    ()                                BotHuntTarget;
  49. void    ()                                bot_ai_stand;
  50. void    (float dist)                    bot_ai_walk;
  51. void    (float dist)                    man_bot_ai_walk;    // Manual mode ai_walk
  52. void    (float dist)                    bot_ai_run;
  53. void    (float dist)                    man_bot_ai_run;        // Manual mode ai_run
  54. void    (float dist)                    bot_ai_follow;
  55. void    (entity attacker, float damage)    bot_pain;
  56. void    ()                                bot_die;
  57. void    ()                                bot_ai_turn;
  58. void    ()                                bot_fire;
  59. void    (void () thinkst)                BotCheckRefire;        // Replaces SUB_CheckRefire
  60. void    ()                                BotSelfDeActivate;
  61.  
  62. // Bot_ext Prototypes - called by triggers.qc
  63.  
  64. void    ()        bot_counter_use;
  65. void    ()        bot_trigger_onlyregistered_touch;
  66.  
  67. //    Addition entity fields
  68. //    .entity        bot;        // bot entity
  69. //    .float        bot_flag;    // existence of bot (TRUE or FALSE)
  70. //    .float        bot_auto;    // flags auto mode of bot (TRUE or FALSE)
  71. //    .float        move_flag;    // (STAND, WALK, OR RUN)
  72. //    .float        auto_fire    // (TRUE or FALSE)
  73.